/**
 * Log
 **/
var _log = {
    'info':function(){
        if(typeof console == 'object' && typeof console.info == 'function'){
            var prefix = arguments.callee.caller != null && arguments.callee.caller.name.length ? arguments.callee.caller.name+": ": ""; 
            console.info.apply(console,$.merge(["%c"+prefix,"font-weight:bold;"],arguments));
        }
    },
    'warn':function(){
        if(typeof console == 'object' && typeof console.warn == 'function'){
            var prefix = arguments.callee.caller != null && arguments.callee.caller.name.length ? arguments.callee.caller.name+": ": ""; 
            console.warn.apply(console,$.merge(["%c"+prefix,"font-weight:bold;"],arguments));
        }
    },
    'log':function(){
        if(typeof console == 'object' && typeof console.log == 'function'){
            var prefix = arguments.callee.caller != null && arguments.callee.caller.name.length ? arguments.callee.caller.name+": ": ""; 
            console.log.apply(console,$.merge(["%c"+prefix,"font-weight:bold;"],arguments));
        }
    }
};
var _toolbox = {
    ucfirst: function(string){
        return string.charAt(0).toUpperCase() + string.toLowerCase().slice(1);
    }
}
/**
 * Standalone
 **/
$(document).ready(function(){
    var nav = $.browser;
    var navName = '';
    if(typeof nav != 'undefined'){
        if(nav.msie){
            navName = 'msie';
        }else if(nav.mozilla){
            navName = 'mozilla';
        }else if(nav.webkit){
            navName = 'webkit';
        }
        $(document.body).addClass(navName).addClass(navName+(parseInt($.browser.version)));
    }
});